﻿//Created by Action Script Viewer - http://www.buraks.com/asv
package Classes.inventory {
    import Classes.*;

    public class BaseItemInventory extends BaseInventory {

        public function BaseItemInventory(_arg1:Object){
            super(_arg1);
        }
        override public function isValidName(_arg1:String):Boolean{
            return (!((Global.gameSettings.getItemByName(_arg1) == null)));
        }
        override public function getCapacity(_arg1:String):int{
            var _local2:Item = Global.gameSettings.getItemByName(_arg1);
            return (_local2.inventoryLimit);
        }

    }
}//package Classes.inventory 
